﻿@model PSTUTemplate.Models.Object.ViewModels.EnrolMentCreateModel
@using (Html.BeginForm())
{
<fieldset>

<table>
    <tr>
        
        <th>
            StudentStatus
        </th>
        <th>
            PreviousGPA
        </th>
        <th>
            PreviousCGPA
        </th>
        <th>
            ClassStartDate
        </th>
        <th>
            EnrolmentDate
        </th>
        <th>
            BankReceiptNo
        </th>
        <th>
            Amount
        </th>
        <th>
            ExamYear
        </th>
        <th></th>
    </tr>

@foreach (var item in Model.EnrolList)
{
    <tr>
        
        <td>
            @Html.DisplayFor(modelItem => item.StudentStatus)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.PreviousGPA)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.PreviousCGPA)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ClassStartDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.EnrolmentDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.BankReceiptNo)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Amount)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ExamYear)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id = item.Id }) |
            @Html.ActionLink("Details", "Details", new { id = item.Id }) |
            @Html.ActionLink("Delete", "Delete", new { id = item.Id })
        </td>
    </tr>
}

</table>
</fieldset>
}